package com.xdcplus.web.mapper.task;

import com.xdcplus.mp.mapper.IBaseMapper;
import com.xdcplus.web.common.pojo.entity.task.JobTaskAlarmSetting;
import com.xdcplus.web.common.pojo.query.task.JobTaskAlarmSettingQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 报警配置(JobTaskAlarmSetting)表数据库访问层
 *
 * @author Richard.Li
 * @since 2024-06-19 09:10:17
 */
public interface JobTaskAlarmSettingMapper extends IBaseMapper<JobTaskAlarmSetting> {

    /**
     * 查询报警配置(JobTaskAlarmSetting)
     *
     * @param jobTaskAlarmSettingQuery 报警配置(JobTaskAlarmSetting)查询
     * @return {@link List<JobTaskAlarmSetting>}
     */
    List<JobTaskAlarmSetting> queryJobTaskAlarmSetting(JobTaskAlarmSettingQuery jobTaskAlarmSettingQuery);

    Boolean deleteAll(@Param("type") String type);

    List<JobTaskAlarmSetting> queryJobTaskAlarmSettingByLine(JobTaskAlarmSettingQuery jobTaskAlarmSettingQuery);
}
